package com.aw.guiguzi.bean

import com.aw.baselib.util.AwDataUtil
import com.aw.baselib.util.AwDateUtil
import java.io.Serializable

class FileItemBean : Serializable {
    /**
     * id : 1024
     * configId : 11
     * path : yudao.jpg
     * name : yudao.jpg
     * url : https://www.iocoder.cn/yudao.jpg
     * type : application/octet-stream
     * size : 2048
     * createTime :
     */
    var id: String? = null
    var configId: String? = null
    var path: String? = null
    var name: String? = null
    var url: String? = null
    var type: String? = null
    var size: String? = null
    var createTime: String? = null
        get() = if (AwDataUtil.isEmpty(field)) {
            ""
        } else AwDateUtil.formatUnixTime(field)
}